package nl.haemers.form.rules 
{
	/**
	 * ...
	 * @author Jonathan Haemers
	 */
	public class TextRule extends BaseRule
	{
		
		public function TextRule() 
		{
			_rule = / /i;
		}
		
		override public function validate(value:String) : Boolean
		{
			return _rule.test(value);
		}
		
		
	}

}